#define ID_IDHR 0x52444849
#define ID_IDAT 0x54414449
#define ID_IEND 0x444E4549

#pragma pack(1)

typedef struct _PNGHEADER_ {
	unsigned long width;
	unsigned long height;
	BYTE bitdepth;
	BYTE colorType;
	BYTE compression;
	BYTE filter;
	BYTE interlaced;
} *PPNGHEADER, PNGHEADER;
